﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Koopakiller.Numerics;
using Koopakiller.Numerics.StringParser;

namespace Sample_Console
{
    class Program
    {
        static void Main(string[] args)
        {
            //Assembly asm = Assembly.LoadFile(Path.GetFullPath( @"Koopakiller.Numerics.StandardAddins.dll"));
            
            //Function fx = new Function();
            //fx.LoadAssembly(asm.FullName);

            //Console.ReadKey();


            Set set = new Set();
            set.Add(new Interval(1, 3, true, false));
            set.Add(new Interval(4, 7, false, true));
            set.Remove(new Interval(2, 5));
            set.Add(-1);
            set.Add(-2);
            set.Remove(6);

            Console.WriteLine(set.ToString());
            set.Compress();
            Console.WriteLine(set.ToString());

            Console.ReadKey();
        }
    }
}
